adjust QMimeDatabase implementation
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 23 Sep 2021 13:02:33 +0000 (14:02 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Thu, 23 Sep 2021 13:02:33 +0000 (14:02 +0100)
commita136cfadb12bc23700fe6bd361f8d3ce74ac114c
tree0af0fcda6cc9fe3b05513015e979c24712b57198
parent47eeda4cec06cb51d8a68760d91df657b82e6341
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff
src/corelib/mimetypes/qmimedatabase.cpp
src/corelib/mimetypes/qmimeglobpattern.cpp